<div class="wrapper wrapper-content" ng-controller="imageListCtrl">

  <div class="row">
    <div class="col-lg-12">
      <div class="ibox float-e-margins">

        <div class="ibox-title">
          <h5>请输入查询条件</h5>
          <div ibox-tools="" class="ng-scope">
            <div dropdown="" class="ibox-tools dropdown">
              <a ng-click="showhide()"> <i class="fa fa-chevron-up"></i></a>
            </div>
          </div>
        </div>

        <div class="ibox-content">
          <div class="row">

            <div class="col-md-6">
              <div class="form-group">
                <label for="image_patientname" class="control-label">患者姓名</label>
                <input type="text" id="image_patientname" class="form-control" data-placement="top"
                       data-original-title="" placeholder="" ng-model="search.name">
              </div>
            </div>
            <div class="col-md-6">
              <div class="form-group">
                <label for="image_patientname" class="control-label">患者年龄</label>
                <input type="text" id="image_patient2name" class="form-control" data-placement="top"
                       data-original-title="" placeholder="" ng-model="search.age">
              </div>
            </div>


          </div>

        </div>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-lg-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>
            用户列表
            <!--<small>查看就诊人员信息</small>-->
          </h5>
          <div ibox-tools></div>
        </div>
        <div class="ibox-content">

          <table class="footable table table-stripped toggle-arrow-tiny"id="mainTable" data-page-size="8" my-footable>
            <thead>
            <tr>
              <th >影像</th>
              <th >姓名</th>
              <th>性别</th>
              <th>年龄</th>
              <th>影像上传时间</th>
              <th>操作</th>
            </tr>
            </thead>
            <tbody>

            <tr ng-repeat="person in persons|filter:{name:search.name,age:search.age}">
              <td>
                <img src="{{person.imageSrc}}" err-src="assets/images/common/defaultHeader.jpg" class="patient-image" >
              </td>
              <td ng-bind="person.name"></td>
              <td ng-bind="person.gender"></td>
              <td ng-bind="person.age"></td>
              <td ng-bind="person.uploadTime"></td>
              <td>
                <button class="btn btn-primary" ui-sref="viewer.imageView">详细信息</button>
              </td>
            </tr>
            </tbody>
            <tfoot>
            <tr>
              <td colspan="50">
                <ul class="pagination pull-right"></ul>
              </td>
            </tr>
            </tfoot>
          </table>

        </div>
      </div>
    </div>
  </div>
</div>
